//
//  AddPerson_Result_CollectionViewCell.m
//  MZSystem
//
//  Created by 智障 on 2018/11/9.
//  Copyright © 2018 zerod. All rights reserved.
//

#import "AddPerson_Result_CollectionViewCell.h"

@implementation AddPerson_Result_CollectionViewCell

- (void)setName:(NSString *)name{
    //    float w = [self forWidthFromFont:FontSize14 withHeight:40.f withString:name] + 20 ;
    _nameLabel.text = [NSString stringWithFormat:@"%@",name];
}

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    _nameLabel.clipsToBounds = YES;
    _nameLabel.layer.cornerRadius = _nameLabel.height/2;
}

@end
